<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        //一般放在head或者body里面
        alert('hello,world');
    </script>

    <!--外部引入 -->
    <script src="js/qj.js"></script>
    <!--默认为 text/javascript-->
    <script type="text/javascript"></script>

</head>
<body>




</body>
</html>